package soccer.model.team;

import java.util.Date;
import java.util.List;
import soccer.model.coach.Coach;
import soccer.model.goals.Goal;
import soccer.model.leagueTable.LeagueTable;
import soccer.model.matches.Match;
import soccer.model.player.Player;


public class Team {
int teamCode;
private String teamName;
private List<Player> players;
private Coach coach;
private String establishDate;
private String city;
private List<Match> teamMatch;
private List<LeagueTable> teamLeagueTable;

public Team(int teamCode, String teamName, String establishDate, String city) {
	super();
	this.teamCode = teamCode;
	this.teamName = teamName;
	this.establishDate = establishDate;
	this.city = city;
}

public Team(int teamCode, String teamName, List<Player> players, Coach coach,
		String establishDate, String city) {
	super();
	this.teamCode = teamCode;
	this.teamName = teamName;
	this.players = players;
	this.coach = coach;
	this.establishDate = establishDate;
	this.city = city;
}

public Team() {
	// TODO Auto-generated constructor stub
}

public int getTeamCode() {
	return teamCode;
}
public void setTeamCode(int teamCode) {
	this.teamCode = teamCode;
}
public String getTeamName() {
	return teamName;
}
public void setTeamName(String teamName) {
	this.teamName = teamName;
}
public List<Player> getPlayers() {
	return players;
}
public void setPlayers(List<Player> players) {
	this.players = players;
}
public Coach getCoach() {
	return coach;
}
public void setCoach(Coach coach) {
	this.coach = coach;
}
public String getEstablishDate() {
	return establishDate;
}
public void setEstablishDate(String establishDate) {
	this.establishDate = establishDate;
}
public String getCity() {
	return city;
}
public void setCity(String city) {
	this.city = city;
}

public void setTeamLeagueTable(List<LeagueTable> teamLeagueTable) {
	this.teamLeagueTable = teamLeagueTable;
}

public List<LeagueTable> getTeamLeagueTable() {
	return teamLeagueTable;
}


}
